package instruction;

import java.io.Serializable;

public class Login implements Serializable {
    private int flag=0;
    private String account;
    private String password;

    public Login(String account, String password) {
        this.account = account;
        this.password = password;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "Login{" +
                "flag=" + flag +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
